import request from '@/utils/request'

// 查询HeatPreprocess列表
export function listHeatPreprocess(query) {
  return request({
    url: '/HeatPreprocess/HeatPreprocess/list',
    method: 'get',
    params: query
  })
}

// 查询HeatPreprocess详细
export function getHeatPreprocess(id) {
  return request({
    url: '/HeatPreprocess/HeatPreprocess/' + id,
    method: 'get'
  })
}

// 新增HeatPreprocess
export function addHeatPreprocess(data) {
  return request({
    url: '/HeatPreprocess/HeatPreprocess',
    method: 'post',
    data: data
  })
}

// 修改HeatPreprocess
export function updateHeatPreprocess(data) {
  return request({
    url: '/HeatPreprocess/HeatPreprocess',
    method: 'put',
    data: data
  })
}

// 删除HeatPreprocess
export function delHeatPreprocess(id) {
  return request({
    url: '/HeatPreprocess/HeatPreprocess/' + id,
    method: 'delete'
  })
}
